toppings = []
active = True
while active:
    topping = input()
    if topping.lower() == 'quit':
        active = False
    else:
        toppings.append(topping)
print(toppings)